package cn.org.eshow.dao;

import cn.org.eshow.bean.query.CouponQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Coupon;

import java.util.List;


/**
 * An interface that provides a data management interface to the Coupon table.
 */
public interface CouponDao extends GenericDao<Coupon, Integer> {
	
	List<Coupon> list(CouponQuery query);
	
	Page<Coupon> search(CouponQuery query);

	Long count(CouponQuery query);
}